gh-85264: Optionally request actual filesize via 'os.path.getsize'#21088
gh-85264: Optionally request actual filesize via 'os.path.getsize'#21088stephenfin wants to merge 2 commits intopython:mainfrom
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
@stephenfin, please make the changes requested. Thank you! |
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html Signed-off-by: Stephen Finucane <stephen@that.guru>
|
So I completely forgot about this and only spotted it while working on #146513. 6 years... 🙈 |
Provide the ability to get the actual, on-disk size of a file using 'os.path.getsize'. This is helpful when dealing with things like sparse files. Signed-off-by: Stephen Finucane <stephen@that.guru>
Provide the ability to get the actual, on-disk size of a file using
os.path.getsize. This is helpful when dealing with things like sparse files.https://bugs.python.org/issue41092